#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Kimi API 验证脚本
快速验证Kimi API是否正确集成
"""

from main import create_model

def verify_kimi_integration():
    """验证Kimi API集成"""
    print("🌙 验证Kimi API集成...")
    
    try:
        # 创建模型
        model = create_model()
        
        # 简单测试
        response = model.invoke("你好")
        print(f"✅ Kimi API集成成功！")
        print(f"🤖 回复: {response.content}")
        return True
        
    except Exception as e:
        print(f"❌ Kimi API集成失败: {e}")
        return False

if __name__ == "__main__":
    verify_kimi_integration()
